package ai.assist.common.dto.admin;

import ai.assist.common.model.PageSearchDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统用户
 *
 * @TableName sys_user
 */
@ApiModel
@Data
public class QueryUserDTO extends PageSearchDTO implements Serializable {

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("账户名称")
    private String username;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("市级系统账号")
    private String cityUsername;

    @ApiModelProperty(value = "市级系统密码",hidden = true)
    private String cityPassword;

    @ApiModelProperty("是否部门管理员1是0否")
    private Integer deptManager;

    @ApiModelProperty("真实名称")
    private String realName;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty(" 邮箱")
    private String email;

    @ApiModelProperty(" 账户状态(1.正常 2.锁定 )")
    private Integer status;

    @ApiModelProperty("性别(1.男 2.女)")
    private Integer sex;

    @ApiModelProperty("回复工单自动审核:1上级已授权,2上级未授权")
    private Integer autoSendBackAudit;

    @ApiModelProperty("退回自动审核1:上级已授权,2上级未授权")
    private Integer autoReturnAudit;

    @ApiModelProperty("是否删除(1未删除；0已删除)")
    private Integer deleted;

    @ApiModelProperty("创建人")
    private Long createId;

    @ApiModelProperty("更新人")
    private Long updateId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    private String startTime;

    private String endTime;

    private static final long serialVersionUID = 1L;
}
